#include<stdio.h>
#include<conio.h>
void main()
{
	int num[] = {24, 34, 12, 44, 56, 17};
	int i, *j;

	clrscr();

	j = &num[0]; //assign address of zeroth element

	for(i = 0; i <= 5; i++)
	{
		printf("\n\n\t\taddress = %u", j);

		printf("\n\n\t\telement = %d\n\n", *j);

		j++; //increment pointer to point to next location
	}

	getch();
}

